package com.hfut.eeg.dto;

import io.swagger.annotations.ApiModelProperty;

/**
 * @author 梁琦
 * @program: eeg
 * @Package com.hfut.eeg.dto
 * @Description: TODO
 * @date 2019-11-05 16:03
 */
public class SysInfoResult {
    @ApiModelProperty(value = "历史病人数量")
    private int history;

    @ApiModelProperty(value = "人均检查时间")
    private float average;

    @ApiModelProperty(value = "共检查出的异常波形数量")
    private int abWaveNum;

    @ApiModelProperty(value = "共节省时间（小时）")
    private int savedTime;

    @ApiModelProperty(value = "0-10岁病人数量")
    private int age1;

    @ApiModelProperty(value = "10-20岁病人数量")
    private int age2;

    @ApiModelProperty(value = "20-50岁病人数量")
    private int age3;

    @ApiModelProperty(value = "50岁以上病人数量")
    private int age4;

    public SysInfoResult() {
    }

    public SysInfoResult(int history, float average, int abWaveNum, int savedTime, int age1,
                         int age2, int age3, int age4) {
        this.history = history;
        this.average = average;
        this.abWaveNum = abWaveNum;
        this.savedTime = savedTime;
        this.age1 = age1;
        this.age2 = age2;
        this.age3 = age3;
        this.age4 = age4;
    }

    public int getHistory() {
        return history;
    }

    public void setHistory(int history) {
        this.history = history;
    }

    public float getAverage() {
        return average;
    }

    public void setAverage(float average) {
        this.average = average;
    }

    public int getAbWaveNum() {
        return abWaveNum;
    }

    public void setAbWaveNum(int abWaveNum) {
        this.abWaveNum = abWaveNum;
    }

    public int getSavedTime() {
        return savedTime;
    }

    public void setSavedTime(int savedTime) {
        this.savedTime = savedTime;
    }

    public int getAge1() {
        return age1;
    }

    public void setAge1(int age1) {
        this.age1 = age1;
    }

    public int getAge2() {
        return age2;
    }

    public void setAge2(int age2) {
        this.age2 = age2;
    }

    public int getAge3() {
        return age3;
    }

    public void setAge3(int age3) {
        this.age3 = age3;
    }

    public int getAge4() {
        return age4;
    }

    public void setAge4(int age4) {
        this.age4 = age4;
    }

    @Override
    public String toString() {
        return "SysInfoResult{" +
                "history=" + history +
                ", average=" + average +
                ", abWaveNum=" + abWaveNum +
                ", savedTime=" + savedTime +
                ", age1=" + age1 +
                ", age2=" + age2 +
                ", age3=" + age3 +
                ", age4=" + age4 +
                '}';
    }
}
